package it.acweb.pauseless.pauselessapp;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;

public class MainActivity extends Activity {

	public final static String EXTRA_MESSAGE = "com.example.myfirstapp.MESSAGE";
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        file_utils.setContext(getApplicationContext());
        //file_utils.copy_resource();
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }

    public void launchBrowse(View view) {
        Intent intent = new Intent(getApplicationContext(), BrowseCdActivity.class);
        startActivity(intent);
    }

    public void launchSearch(View view) {
        Intent intent = new Intent(getApplicationContext(), BrowseCdActivity.class);
        startActivity(intent);
    }
    
    public void launchViewMix(View view) {
        Intent intent = new Intent(getApplicationContext(), BrowseMixActivity.class);
        startActivity(intent);
    }
    
}
